package com.sdry.model.zc;

import java.util.HashSet;
import java.util.Set;

/**
 * @ClassName: SysUser
 * @Description:用户管理
 * @Author hpf
 * @Date 2019年2月21日 下午4:57:09
 * @version 1.0
 */
public class ZcSysUserEntity {
	// 主键ID
	private Long id;
	// 部门id
	private Long deptId;
	// 岗位id
	private Long postId;
	// 姓名
	private String userName;
	// 用户名
	private String accountName;
	// 工号
	private String jobNumber;
	// 密码
	private String password;
	// 性别（0男1女）
	private String sex;
	// 电话
	private String phone;
	// 角色id
	private String roleId;
	// 角色名称
	private String roleName;
	// 状态：0启用1停用
	private String status;
	// 逻辑删除 1是0否
	private String isdel;
	// 创建日期
	private String createdTime;
	// 最后更新日期
	private String updatedTime;
	private String remark;
	// 动态权限
	private Set<Long> list = new HashSet<>();



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public Long getPostId() {
		return postId;
	}

	public void setPostId(Long postId) {
		this.postId = postId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIsdel() {
		return isdel;
	}

	public void setIsdel(String isdel) {
		this.isdel = isdel;
	}

	public String getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}

	public String getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(String updatedTime) {
		this.updatedTime = updatedTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getJobNumber() {
		return jobNumber;
	}

	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}

	public Set<Long> getList() {
		return list;
	}

	public void setList(Set<Long> list) {
		this.list = list;
	}
	
	@Override
	public String toString() {
		return "ZcSysUserEntity [id=" + id + ", deptId=" + deptId + ", postId="
				+ postId + ", userName=" + userName + ", accountName="
				+ accountName + ", jobNumber=" + jobNumber + ", password="
				+ password + ", sex=" + sex + ", phone=" + phone + ", roleId="
				+ roleId + ", roleName=" + roleName + ", status=" + status
				+ ", isdel=" + isdel + ", createdTime=" + createdTime
				+ ", updatedTime=" + updatedTime + ", remark=" + remark
				+ ", list=" + list + "]";
	}
}
